package org.nfIt.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.nfIt.entity.product.ProductDetails;

/**
 * ClossName:ProductDetailsMapper
 * Pakage:org.nfIt.mapper
 * Description
 *
 * @Author L
 * @Create 2024/8/23 22:37
 * @Version 2023.1.3
 */
@Mapper
public interface ProductDetailsMapper {
//    保存商品详情数据
    void save(ProductDetails productDetails);

    //3 根据id删除商品详情数据 product_details
    ProductDetails findProductDetailsById(Long id);

    //修改product_details
    void updateById(ProductDetails productDetails);

    // 根据商品的id删除商品的详情数据
    void deleteByProductId(Long id);
}
